package com.Maykk.Demo01;

/**
 * @ClassName Cat
 * @Description: TODO
 * @Author: MaykkSTAR@163.com
 * @DATE: 2023/2/28
 */
public class Cat extends Animal {
    public String name = "猫";
    public int age = 10;

    public void eat() {
        System.out.println("cat eat~~");
    }

    @Override
    public void run() {
        System.out.println("Cat is running...");
    }

    @Override
    public void move() {
        System.out.println("猫会移动！ —— 此方法在 Cat 中重写");
    }
}